import * as debug from 'debug'
import * as Cnipr from './utils/cnipr'

const log = debug('token_manager')

async function main() {
    const helper = new Cnipr.CniprHelper()

    await helper.getToken(true)

    // const searchParams = {exp: "申请（专利权）人='贝一投资无锡有限公司'", displayCols: "title"}
    // const sf1Data: any = await helper.sf1(searchParams)
    // log('sf1Data:\r\n%o', sf1Data)
}

main().then(() => {
    log('exit.')
    process.exit()
})
